package com.hefeng.example.config;

public class Constant {

    public static final String SESSION_KEY = "userInfo";
    public static final String INTERACT_SPLIT_STR = "%gas_auth_orization%";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";


    /**
     * 字典管理 cache key
     */
    public static final String USER_DEVICE_KEY = "user_device:";

    /***
     * 角色数据
     * */
    public static final String ROLE_DEVICE_CODES_KEY = "role_deviceCodes:";

    /***
     * 超级管理员角色
     * */
    public static final String ROLE_ADMIN = "role:admin";

    public static final String ADMIN = "admin";

    /***
     * 角色统一头
     * */
    public static final String ROLE_HEAD = "role:";


    public static final String CODE_UUID = "CODE_UUID_";


    /**
     * aegis探头消息记录表前缀
     */
    public static final String AEGIS_PROBE_DATA_INFO_LOG_ = "AEGIS_PROBE_DATA_INFO_LOG_";


    /**
     * 初始化 aegis 更新job任务名
     */
    public static final String INIT_PROBE_TASK_JOB_NAME = "INIT_PROBE_TASK_JOB_NAME";

    /**
     * 初始化 aegis 更新job任务名
     */
    public static final String INIT_PROBE_TASK_JOB_TRIGGER = "INIT_PROBE_TASK_JOB_TRIGGER";

    /***
     * 任务执行错误次数
     * */
    public static final String INIT_PROBE_TASK_JOB_ERROR_COUNT = "INIT_PROBE_TASK_JOB_ERROR_COUNT";


    /**
     * DEVICE_STATUS
     */
    public static final String DEVICE_STATUS = "DEVICE_STATUS";

    /**
     * DEVICE_STATUS
     */
    public static final String DEVICE_INFO = "DEVICE_INFO";


    /**
     * hex65536 (工具类使用)
     **/
    public static final int HEX_65536 = 65536;

    /********************webSocket消息头类型****************************/
    public static final String SYSTEM_HEADERS = "system";

    public static final String BUSINESS_HEADERS = "business";


    /***
     * pc登录ws
     * */
    public static final String LOGIN_TYPE = "login";


    /***
     * pc登录ws
     * */
    public static final String HEARTBEAT_TYPE = "heartbeat";


    /***
     * 微信登录ws
     * */
    public static final String WECHAT_LOGIN = "WeChatLogin";

    /**
     * app登录ws
     */
    public static final String APP_TYPE = "appLogin";


    /***
     * 消息接受成功
     * */
    public static final String MSG_SUCCESS = "msgSuccess";

    /***
     * gasWeb切换消息来源
     * */
    public static final String GAS_INDUSTRIAL_OR_RESIDENT = "gasIndustrialOrResident";


    /***
     *  微信或App消息订阅
     * */
    public static final String WECHAT_OR_APP_SUBSCRIBE = "WeChatOrAppSubscribe";


    public static final String CHAT_TYPE = "chat";

    public static final String ALARN_TYPE = "alarm";

    /**
     * 地图点位更新推送
     */
    public static final String MAP_POINT_TYPE = "map";


    /****
     *
     * 实时状态
     * */
    public static final String DEVICE_REAL_TIME_STATUS = "deviceRealStatus";
    /**
     * 地图点位更新推送
     */
    public static final String MAP_POINT_BATCH_TYPE = "batchMapPoints";

    /**
     * 小铃铛业务推送
     */
    public static final String BELL_TYPE = "bell";

    /**
     * 批量推送集合
     **/
    public static final String BELL_BATCH_TYPE = "bellList";

    /*
     * 工单小铃铛推送
     *
     * */
    public static final String BELL_WORK_TYPE = "bellWork";

    /**
     * alarmScrolling
     */
    public static final String ALARM_SCROLLING_TYPE = "alarmScrolling";

    public static final String STATE_TYPE = "state";

    // 批量推送
    public static final String BATCH_SOURCE = "batch";

    // 个人推送
    public static final String PERSONAL_SOURCE = "personal";

    /**
     * 故障
     */
    public static final String WORK_ALARN_TYPE = "WORK_ALARN_TYPE";
    /**
     * 故障
     */
    public static final String WORK_FAULT_TYPE = "WORK_FAULT_TYPE";
    /**
     * 离线
     */
    public static final String WORK_OFFLINE_TYPE = "WORK_OFFLINE_TYPE";


    /**
     * 燃气浓度计量单位
     */
    public static final String CONCENTRATION_UNIT_OF_MEASURE = "%LEL";

    /**
     * 启用
     */
    public static String ZT_QY = "1";

    public static String ZT_JY = "2";

    public static String ZT_SC = "3";
    /**
     * 启用
     */
    public static int INT_ZT_QY = 1;

    /**
     * 启用
     */
    public static int INT_ZERO = 0;


    public static int INT_0 = 0;
    public static int INT_1 = 1;
    public static int INT_2 = 2;
    public static int INT_3 = 3;
    public static int INT_4 = 4;
    public static int INT_5 = 5;
    public static int INT_6 = 6;
    public static int INT_7 = 7;
    public static int INT_8 = 8;
    public static int INT_9 = 9;
    public static int INT_10 = 10;


    public static String STRING_0 = "0";
    public static String STRING_1 = "1";
    public static String STRING_2 = "2";
    public static String STRING_3 = "3";
    public static String STRING_4 = "4";
    public static String STRING_5 = "5";
    public static String STRING_6 = "6";
    public static String STRING_7 = "7";
    public static String STRING_8 = "8";

    public static String WORK_ID = "work";


    /********************数据库操作类型****************************/
    public static final String ROUTER_ALL_PATH = "/**";
    /********************数据库操作类型****************************/
    public static final String INSERT = "insert";
    public static final String ADD = "add";
    public static final String POST = "post";

    public static final String SELECT = "select";
    public static final String GET = "get";
    public static final String LIST = "list";

    public static final String UPDATE = "update";
    public static final String UPD = "upd";
    public static final String SET = "set";

    public static final String DELETE = "delete";
    public static final String DEL = "del";
    public static final String REMOVE = "remove";

}
